namespace hjc {
	export class Size extends Component {

		private $w: number;
		private $h: number;
		public get w(): number { return this.$w; }
		public set w(w: number) { this.$w = w; }
		public get h(): number { return this.$h; }
		public set h(h: number) { this.$h = h; }

		public init(w?: number, h?: number): void {
			this.$w = 0;
			this.$h = 0;
			super.resetPfc();
			if (numeric(w)) this.w = w;
			if (numeric(h)) this.h = h;
		}
	}
}